import Home from '../home'
import BasicLayout from '@/layout/Basic'
import Test from '@/pages/test'
import About from '@/pages/about'
import Login from '@/pages/login'

const routes = [
    {
        path: "/login",
        component: Login,
        exact: true,
        layout: false
    },
    {
        path: "/",
        component: BasicLayout,
        layout: true,
        routes: [
            {
                path: "/test",
                component: Test,
                exact: true
            },
            {
                path: "/test/about",
                component: About,
                exact: true
            },
        ]
    },

];

export default routes